package com.xieyunjie.domain;

import org.springframework.stereotype.Component;

/**
 * @program: 0812springboot
 * @author: 雷哥
 * @create: 2019-12-16 11:33
 **/
@Component
public class Man {


    public void eat(){
        System.out.println("人吃饭");
        int a=10/0;
    }



    public String sleep(String arg){
        System.out.println("睡觉");
        return "sleep";
    }
}
